package com.jf.blogbackened.bean;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 分页实体
 *
 * @param <T> the type parameter
 */
@Data
public class PageBean<T> {

    private List<T> list;
    private int pageSize;

    private int currentPage;
    private int total;
    private int navigatePages;

    private int pageBeginIndex;
    private int pageEndIndex;
    private int pageCount;


    public PageBean(List<T> list, int total,int pageSize) {
        this.list = list;
        this.pageSize = pageSize;
        this.total = total;

    }


}
